package cn.hct.springboot_pro.service;

import cn.hct.springboot_pro.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService {
    int addOrder(int item_id,int user_id,String item_name,int order_price,String consignee,String addr,String contact_way,String creat_time);

    Orders getOrderById(int order_id);

    Orders getOrderByTimeAndItem(int item_id, String creat_time);

    List<Orders> getOrderByUId(int user_id);

    List<Orders> getOrder();

    int deleteOrderById(int order_id);

    Orders getOrderByItem(int item_id);





}
